<template>
	<div>
		<el-tabs v-model="activeName" class="demo-tabs">
			<el-tab-pane label="老人打卡记录" name="fingerRecords">
			</el-tab-pane>
			<el-tab-pane label="员工打卡记录" name="fingerUserRecords">
			</el-tab-pane>
      <component :is="whichComm[activeName]"></component>
		</el-tabs>
	</div>
</template>

<script setup lang="ts">
import fingerRecords from '@/views/instOperate/fingerRecords/index.vue'
import fingerUserRecords from '@/views/instOperate/fingerUserRecords/index.vue'
const activeName = ref('fingerRecords')

const whichComm = {
  fingerUserRecords,
  fingerRecords
}
</script>

<style scoped></style>
